@CHARSET "ISO-8859-1";
body {
		margin-top: 0px;
		margin-bottom: 0px;
		font-family: Verdana, sans-serif;
		font-size: 12px;
		font-style: normal;
		line-height: normal;
		font-weight: normal;
		font-variant: normal;
		text-transform: none;
		background-color: rgb(255,235,255);
	}

div.middle{
width: 1020px;
height:100%;
background-color: #FFFFFF;
/* center align */
margin-top: 0px;
margin-left: auto;
margin-right: auto;
/* ----------- */
}

div.uperbar{
	background-image:url(http://localhost:8888/ci_project02/images/BG-upbar.jpg);
	width: 1010px;
	height:25px;
	font-weight: normal;
	color: #FFFFFF;
	padding-top:10px;
	padding-left:10px;
	}
	
div.head{
	background-image:url(http://localhost:8888/ci_project02/images/header3.jpg);
	width: 1020px;
	height:150px;                
}

div.login{
background-color: #A671F6 ;
width: 250px;
height:70px;  
margin: 0px 0px 0px 650px;
padding-top: 50px;             
}

div.manubar{
background-image:url(http://localhost:8888/ci_project02/images/BG-manubar.jpg);
width: 1020px;
height:34px;
}

/* horizontal navigation */
div.top-nav{
	margin: 0px 0px 0px 0px;
}

div.top-nav ul{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

div.top-nav ul li { float: left; }

div.top-nav ul li a {
	text-align: center;
	font-weight: bold;
	display: block;
	width: 125px;
	padding-top: 10px;
	padding-bottom: 10px;
	text-decoration: none;
	color: #FFFFFF;
}

/* interactive navigation bar */
div.top-nav ul li a:link{}
div.top-nav ul li a:visited{}
div.top-nav ul li a:active{}
div.top-nav ul li a:hover{   
	color:#000000;
	background-image:url(http://localhost:8888/ci_project02/images/navbar.4.jpg);
}
						
div.top-nav ul li a:hover span, div.top-nav  .current span{
	background:url(../pic/navbar.4.jpg) no-repeat top;
	height:34px;
	width:125px;
	display:block;
	float:left;						
}
							
div.top-nav  li .current{			
	display:block;
	float:left;
	height:34px;				
	background:url(http://localhost:8888/ci_project02/images/navbar.4.jpg) repeat-x;
	color:#fff;		
}


/*content*/
div.content{
width:1019px;
height:100px; 
/*background-color: #2DD0E2;   */            
}

div.footbar{
background-image:url(http://localhost:8888/ci_project02/images/BG-footbar.jpg);
width: 1020px;
height:34px;
}

ul.tabs {
	margin: 0;
	padding: 0;
	float: left;
	list-style: none;
	height: 32px; /*--Set height of tabs--*/
	border-bottom: 1px solid #999;
	border-left: 1px solid #999;
	width: 1020px;
}
ul.tabs li {
	float: left;
	margin: 0;
	padding: 0;
	height: 31px; /*--Subtract 1px from the height of the unordered list--*/
	line-height: 31px; /*--Vertically aligns the text within the tab--*/
	border: 1px solid #999;
	border-left: none;
	margin-bottom: -1px; /*--Pull the list item down 1px--*/
	overflow: hidden;
	position: relative;
	background: #e0e0e0;
}
ul.tabs li a {
	text-decoration: none;
	color: #000;
	display: block;
	font-size: 1.2em;
	padding: 0 20px;
	border: 1px solid #fff; /*--Gives the bevel look with a 1px white border inside the list item--*/
	outline: none;
}
ul.tabs li a:hover {
	background: #ccc;
}
html ul.tabs li.active, html ul.tabs li.active a:hover  { /*--Makes sure that the active tab does not listen to the hover properties--*/
	background: #fff;
	border-bottom: 1px solid #fff; /*--Makes the active tab look like it's connected with its content--*/
}

.tab_container {
	border: 1px solid #999;
	border-top: none;
	overflow: hidden;
	clear: both;
	float: left; 
	width: 100%;
	background: #fff;
}
.tab_content {
	padding: 20px;
	font-size: 1.2em;
}
#login {
	text-decoration: none;
	color: white;	
}

.err{
	font-size: 12px;
	color: red;
}

.datatable{
	border:1px solid #338BA6;
	border-collapse: collapse;/* บรรทัดนี้ใช้รวมขอบตาราง */
	width:500px;
}
.datatable td{
	border:1px solid #338BA6;
	padding:0.3em;
}
.datatable th{
	border: 1px solid #828282;
	background-color:#BCBCBC;
	font-weight: bold;
	text-align:left;
	padding-left:0.3em;
}
.datatable caption{
	font:bold 110% Aril, Helvetica,sans-serif;
	color: #33517A;
	text-align: left;
	padding: 0.4em 0 0.8em 0;
}
/*ส่วนนี้เอาไว้ทำให้เมื่อถูกเมาส์แล้วเปลี่ยนสี(hover)*/
.datatable tr:hover, .datatable tr.hilite{
	background-color:#DFE7F2;
	color:#000000;
}